﻿using DomainModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MusicManagerDAO.Interfaces
{
    public interface IUserDao {
        DomainModel.User FindByNameAndPassword(string name, string password);
        IEnumerable<DomainModel.User> FindAll();

        bool Insert(DomainModel.User user);

        IEnumerable<DomainModel.User> FindByNameLike(string contain);
    }
}
